#include "qformhost.h"

#include "qabstractproperty.h"

using namespace SHAREDLIB;

QFormHost::QFormHost(QObject *object):
    QWidgetHost(object)
{
    SHAREDLIB::QAbstractProperty *pro;
    this->removeProperty("enabled");
    this->removeProperty("memery");

    pro=this->getProperty("geometry");
    pro->setAttribute("property_name",tr("Size"));
    pro->setAttribute("x:visible",false);
    pro->setAttribute("y:visible",false);


    pro=this->getProperty("objectName");
    pro->setAttribute("editabled",false);

    m_function_list.append("setGeometry(int,int,int,int)");

    removeAction("edit");
}
